//
//  DropDownMenu.h
//  微博2期
//
//  Created by J on 15/11/22.
//
//

#import <UIKit/UIKit.h>
@class DropDownMenu;
@protocol DropDownMenuDelegate <NSObject>
@optional
- (void)dropdownMenuDidDismiss:(DropDownMenu*)menu;
- (void)dropdownMenuDidShow:(DropDownMenu*)menu;

@end
@interface DropDownMenu : UIView
+ (instancetype)menu;
- (void)showFrom:(UIView*)from;
- (void)dismiss;

@property(nonatomic,strong)UIView* content;
@property(nonatomic,strong)UIViewController* contentViewcontroller;
@property(nonatomic,weak)id <DropDownMenuDelegate> delegate;

@end
